Coalgebraic Theories of Sequences in PVS
نویسندگان
چکیده
This paper explains the setting of an extensive formalisation of the theory of sequences ((nite and innnite lists of elements of some data type) in the Prototype Veriication System pvs. This formalisation is based on the characterisation of sequences as a nal coalgebra, which is used as an axiom. The resulting theories comprise standard operations on sequences like composition (or concatenation), ltering, attening, and their properties. They also involve the preex ordering and proofs that sequences form an algebraic complete partial order. The nality axiom gives rise to various reasoning principles, like bisimulation, simulation, invariance, and induction for admissible predicates. Most of the proofs of equality statements are based on bisimulations, and most of the proofs of preex order statements use simulations. Some signiicant aspects of these theories are described in detail. This coalgebraic formalisation of sequences is presented as a concrete example that shows the importance and usefulness of coalgebraic modeling and reasoning. Hopefully, it will help to convey the view that coalgebraic data types should form an intrinsic part of (future) languages for programming and reasoning. Therefore, some suggestions for an appropriate syntax for coalgebraic datatypes are included. The use of sequences as a nal coalgebra is demonstrated in two (standard) applications: a reenement result for automata involving sequences of actions, and a coalgebraic deenition plus correctness proof for an insert operation on ordered sequences.
منابع مشابه
The Coalgebraic Class Specification Language CCSL
This note presents the Coalgebraic Class Specification Language CCSL that is developed within the LOOP project1. CCSL allows the (coalgebraic) specification of behavioral types or classes from object-oriented languages. A front-end to the theorem provers PVS [ORR+96] and ISABELLE [Pau94] compiles CCSL specifications into the logic of the theorem provers and and allows to mechanically reason abo...
متن کاملThe Coalgebraic Class Speci cation Language CCSL 1
This paper presents the Coalgebraic Class Speci cation Language ccsl that is developed within the loop project on formal methods for object-oriented languages. ccsl allows the (coalgebraic) speci cation of behavioral types and classes of object-oriented languages. It uses higher-order logic with universal modal operators to restrict the behavior of objects. A front-end to the theorem provers pv...
متن کاملThe Coinductive Approach to Verifying Cryptographic Protocols
We look at a new way of specifying and verifying cryptographic protocols using the Coalgebraic Class Specification Language. Protocols are specified into CCSL (with temporal operators for “free”) and translated by the CCSL compiler into theories for the theorem prover PVS. Within PVS, the desired security conditions can then be (dis)proved. In addition, we are interested in using assumptions wh...
متن کاملPVS Strategies for Proving Abstraction Properties of Automata
Abstractions are important in specifying and proving properties of complex systems. To prove that a given automaton implements an abstract specification automaton, one must first find the correct abstraction relation between the states of the automata, and then show that this relation is preserved by all corresponding action sequences of the two automata. This paper describes tool support based...
متن کاملInvariants, Bisimulations and the Correctness of Coalgebraic Refinements
Coalgebraic speciications are used to formally describe the behaviour of classes in object-oriented languages. In this paper, a general notion of reenement between two such coalgebraic speciications is deened, capturing the idea that one \concrete" class speciication realises the behaviour of the other, \abstract" class spec-iication. Two (complete) proof-techniques are given to establish such ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Log. Comput.
دوره 9 شماره
صفحات -
تاریخ انتشار 1999